-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Debug Mode] Show reason for RBR/GBR on LHN tabs #49962
[Debug Mode] Show reason for RBR/GBR on LHN tabs #49962
Conversation
I need to add unit tests for the new hook that I created - Besides this, I also have to:
|
…rbr-gbr-on-lhn-tabs # Conflicts: # src/languages/en.ts
Today's update:
To continue tomorrow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partial review
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/DebugTabView.tsx
Outdated
Show resolved
Hide resolved
…rbr-gbr-on-lhn-tabs # Conflicts: # src/CONST.ts # src/languages/en.ts # src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx
Today's update:
To continue tomorrow:
|
…rbr-gbr-on-lhn-tabs
Today's update:
Todo:
|
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/DebugTabView.tsx
Outdated
Show resolved
Hide resolved
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/DebugTabView.tsx
Outdated
Show resolved
Hide resolved
I forgot to leave my update yesterday, here it is:
Todo:
|
…rbr-gbr-on-lhn-tabs
All tasks done. This PR is now ready for review! |
Thanks for the feedback! Waiting for your review when you're available 😄 |
Still waiting on final review from @DylanDylann |
1 similar comment
Still waiting on final review from @DylanDylann |
Screen.Recording.2024-10-17.at.09.41.43.movLet's use text color to be suitable with the background color |
const transactionViolations = useOnyx(ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS); | ||
const [chatTabBrickRoad, setChatTabBrickRoad] = useState<BrickRoad>(getChatTabBrickRoad(activeWorkspaceID)); | ||
|
||
useEffect(() => { | ||
setChatTabBrickRoad(getChatTabBrickRoad(activeWorkspaceID)); | ||
}, [activeWorkspaceID, transactionViolations]); | ||
}, [activeWorkspaceID, transactionViolations, reports, reportActions]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice change 🥇
@@ -5573,6 +5572,22 @@ const translations = { | |||
hasChildReportAwaitingAction: 'Informe secundario pendiente de acción', | |||
hasMissingInvoiceBankAccount: 'Falta la cuenta bancaria de la factura', | |||
}, | |||
indicatorStatus: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pac-guerreiro NAB: Did you confirm these translations?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DylanDylann thanks for the reminder! I just requested confirmation on expensify-open-source
😄
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/DebugTabView.tsx
Outdated
Show resolved
Hide resolved
…rbr-gbr-on-lhn-tabs
- Fix text color in debug tab view when using light theme - Update route for custom units error
@DylanDylann all feedback addressed! I'll let you know when someone confirms the spanish translations 😄 |
@pac-guerreiro We have conflicts, please help to resolve it |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-18.at.10.50.23.movAndroid: mWeb ChromeScreen.Recording.2024-10-18.at.10.46.20.moviOS: NativeScreen.Recording.2024-10-18.at.10.50.08.moviOS: mWeb SafariScreen.Recording.2024-10-18.at.10.47.40.movMacOS: Chrome / SafariScreen.Recording.2024-10-18.at.10.44.13.movMacOS: DesktopScreen.Recording.2024-10-18.at.10.44.43.mov |
src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx
Outdated
Show resolved
Hide resolved
…rbr-gbr-on-lhn-tabs # Conflicts: # src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/BottomTabBar.tsx
@DylanDylann I just resolved the conflict and applied a fix for the problem you encountered 😄 |
Thank you @DylanDylann for the review! 😄 The spanish translations were confirmed by @Gonals 🙌 The PR is ready to be merged! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great and very thorough. Thank you!
@puneetlath looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
Hmm, all the tests are passing. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/puneetlath in version: 9.0.52-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.52-5 🚀
|
Details
Fixed Issues
$#49600
PROPOSAL: N/A
Tests
To trigger a GBR in Inbox
Make sure there are no reports with RBR
Inbox
page+
on the chat editor and selectAssign Task
View
button after the messageTo trigger a RBR in Inbox
Category
)View
, you should be redirected to the expense reportTo trigger a GBR in Settings
Profile
, then openContact method
View
, you should be redirected to the contact method pageTo trigger a RBR in Settings
Profile
, then openContact method
View
, you should be redirected to the contact method pageOffline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android.-.Native.mp4
Android: mWeb Chrome
Android.-.Chrome.mp4
iOS: Native
iOS.-.Native.mp4
iOS: mWeb Safari
iOS.-.Safari.mp4
MacOS: Chrome / Safari
MacOS.-.Chrome.mp4
MacOS: Desktop
MacOS.-.Native.mp4